package com.qinglei.recoup.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 
 *
 * @author dqh
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_bed_health_state")
@ApiModel(value="BedHealthState对象", description="")
public class BedHealthState implements Serializable {
    private static final long serialVersionUID = 1L;

    /**     0 - 设备已经消音
     *      3-呼吸正常 （不保存）
     *      4-呼吸过速
     *      5-呼吸暂停过久
     *      6-心跳正常 (不保存)
     *      7-心跳过速
     *      8-心跳过缓
     */
    public static final int SUB_STATUS_PROCESSING = 0;

    public static final int SUB_STATUS_BREATH_NORMAL= 3;
    public static final int SUB_STATUS_BREATH_HIGHT = 4;
    public static final int SUB_STATUS_BREATH_LOW = 5;

    public static final int SUB_STATUS_HEART_NORMAL= 6;
    public static final int SUB_STATUS_HEART_HIGHT = 7;
    public static final int SUB_STATUS_HEART_LOW = 8;

    public static final int HEALTH_BREATH_BPM = 1;
    public static final int HEALTH_HEART_BPM  = 2;


    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "床位ID")
    private Integer bedId;

    @ApiModelProperty(value = "状态")
    private Integer type;


}
